package com.gccloud.tgyfirst.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gccloud.starter.core.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author qianxing
 * @version 1.0
 * @date 2021/5/17 11:48
 */
@Data
@Accessors(chain = true)
@TableName("course")
@ApiModel
@ToString(callSuper = true)
public class CourseEntity extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "课程名称")
    private String name;

    @ApiModelProperty(notes = "授课教师名称")
    private String teacherName;

    @ApiModelProperty(notes = "课程开始时间")
    private Date startDate;

    @ApiModelProperty(notes = "课程结束时间")
    private Date endDate;

}